package com.ruoyi.baoziyi.mapper;

import com.ruoyi.baoziyi.domain.SelectBZYImgInfo;
import com.ruoyi.baoziyi.domain.SerBaoziyiImgInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SerBaoziyiImgInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SerBaoziyiImgInfo record);

    int insertSelective(SerBaoziyiImgInfo record);

    SerBaoziyiImgInfo selectByPrimaryKey(Long id);

    SerBaoziyiImgInfo selectByPhotoName(String photoName);
    int updateByPrimaryKeySelective(SerBaoziyiImgInfo record);

    int updateByPrimaryKey(SerBaoziyiImgInfo record);

    List<SerBaoziyiImgInfo> selectAllBZYImgInfo();

    List<SerBaoziyiImgInfo> selectBZYPhotoList(SelectBZYImgInfo selectBZYImgInfo);
}